package com.cardone.platform.authority.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import org.springframework.data.annotation.Transient;

import com.cardone.platform.authority.po.UserGroup;

/**
 * 用户组
 *
 * @author yaohaitao
 *
 */
@Getter
@Setter
@Accessors(chain = true)
public class UserGroupDto extends UserGroup {
	/**
	 * 用户组
	 *
	 * @author yaohaitao
	 *
	 */
	public enum Attributes {

		/**
		 * 业务代码
		 */
		businessCode,
	}

	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = 809043785976177199L;

	/**
	 * 用户组
	 *
	 * @return 用户组
	 */
	public static UserGroupDto newUserGroup() {
		return new UserGroupDto();
	}
}